package com.xhxi.photobooker.service;

import com.xhxi.photobooker.entity.Photographer;

import java.util.List;

public interface PhotographerService {
    Photographer savePhotographer(Photographer photographer);
    Photographer findPhotographerById(Long id);
    List<Photographer> findAllPhotographer();
    Photographer updatePhotographer(Long id, Photographer photographer);
    boolean deletePhotographer(Long id);

    Photographer findByUserId(Long userId);
    
    // 更新摄影师的完成订单数
    void updateOrderCount(Long photographerId);

    List<Photographer> getAllPhotographers();
}